close () : {Promise -> boolean}
Close the window
